package com.itboye.ihomebank.bean;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

/**
 * 下载钥匙Bean
 * @author admin
 *
 */
public class DownKeyBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * "electricQuantity": 100, "lockAlias": "kj", "lockFlagPos": 0,
	 * "aesKeyStr": "ac,39,70,29,7b,31,96,5c,e5,9a,d2,56,18,82,ae,7c",
	 * "endDate": 0, "lockVersion": { "showAdminKbpwdFlag": true, "groupId": 1,
	 * "protocolVersion": 0, "protocolType": 0, "orgId": 1, "logoUrl": "",
	 * "scene": 2 }, "lockMac": "CA:AF:04:5B:48:E6", "lockKey":
	 * "OTcsMTAzLDEwMSw5NywxMDAsOTgsMTA0LDk3LDk5LDk3LDQ3", "lockName":
	 * "S202_e6485b", "remarks": "", "startDate": 0
	 */
	@SerializedName("electricQuantity")
	String electricQuantity;
	@SerializedName("lockAlias")
	String lockAlias;
	@SerializedName("lockFlagPos")
	int lockFlagPos;
	@SerializedName("aesKeyStr")
	String aesKeyStr;
	@SerializedName("endDate")
	long endDate;

	@SerializedName("lockVersion")
	LockVersion lockVersion;

	public String getElectricQuantity() {
		return electricQuantity;
	}
	public void setElectricQuantity(String electricQuantity) {
		this.electricQuantity = electricQuantity;
	}
	public String getLockAlias() {
		return lockAlias;
	}
	public void setLockAlias(String lockAlias) {
		this.lockAlias = lockAlias;
	}
	public int getLockFlagPos() {
		return lockFlagPos;
	}
	public void setLockFlagPos(int lockFlagPos) {
		this.lockFlagPos = lockFlagPos;
	}
	public String getAesKeyStr() {
		return aesKeyStr;
	}
	public void setAesKeyStr(String aesKeyStr) {
		this.aesKeyStr = aesKeyStr;
	}
	public long getEndDate() {
		return endDate;
	}
	public void setEndDate(long endDate) {
		this.endDate = endDate;
	}
	public LockVersion getLockVersion() {
		return lockVersion;
	}
	public void setLockVersion(LockVersion lockVersion) {
		this.lockVersion = lockVersion;
	}
	public String getLockMac() {
		return lockMac;
	}
	public void setLockMac(String lockMac) {
		this.lockMac = lockMac;
	}
	public String getLockKey() {
		return lockKey;
	}
	public void setLockKey(String lockKey) {
		this.lockKey = lockKey;
	}
	public String getLockName() {
		return lockName;
	}
	public void setLockName(String lockName) {
		this.lockName = lockName;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public long getStartDate() {
		return startDate;
	}
	public void setStartDate(long startDate) {
		this.startDate = startDate;
	}
	public static class LockVersion {
		@SerializedName("showAdminKbpwdFlag")
		String showAdminKbpwdFlag;
		@SerializedName("groupId")
		String groupId;
		@SerializedName("protocolVersion")
		String protocolVersion;
		@SerializedName("protocolType")
		String protocolType;
		@SerializedName("orgId")
		String orgId;
		@SerializedName("logoUrl")
		String logoUrl;
		@SerializedName("scene")
		String scene;
		public String getShowAdminKbpwdFlag() {
			return showAdminKbpwdFlag;
		}
		public void setShowAdminKbpwdFlag(String showAdminKbpwdFlag) {
			this.showAdminKbpwdFlag = showAdminKbpwdFlag;
		}
		public String getGroupId() {
			return groupId;
		}
		public void setGroupId(String groupId) {
			this.groupId = groupId;
		}
		public String getProtocolVersion() {
			return protocolVersion;
		}
		public void setProtocolVersion(String protocolVersion) {
			this.protocolVersion = protocolVersion;
		}
		public String getProtocolType() {
			return protocolType;
		}
		public void setProtocolType(String protocolType) {
			this.protocolType = protocolType;
		}
		public String getOrgId() {
			return orgId;
		}
		public void setOrgId(String orgId) {
			this.orgId = orgId;
		}
		public String getLogoUrl() {
			return logoUrl;
		}
		public void setLogoUrl(String logoUrl) {
			this.logoUrl = logoUrl;
		}
		public String getScene() {
			return scene;
		}
		public void setScene(String scene) {
			this.scene = scene;
		}
	}

	@SerializedName("lockMac")
	String lockMac;
	@SerializedName("lockKey")
	String lockKey;
	@SerializedName("lockName")
	String lockName;
	@SerializedName("remarks")
	String remarks;
	@SerializedName("startDate")
	long startDate;

}
